package com.zhiyou100.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * student
 * @author yanglei
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student implements Serializable {
    private Integer sid;

    private String sname;

    private String spwd;

    private String sphoto;

    private Date sbirthday;

    private static final long serialVersionUID = 1L;

    public Student(String sname, String spwd, String sphoto, Date sbirthday) {
        this.sname = sname;
        this.spwd = spwd;
        this.sphoto = sphoto;
        this.sbirthday = sbirthday;
    }
}